package com.grf.hadoop.input_format;

import org.apache.hadoop.io.BytesWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;

import java.io.IOException;

public class MyMapper extends Mapper<Text, BytesWritable,Text, BytesWritable> {

    @Override
    protected void map(Text key, BytesWritable value, Context context)
            throws IOException, InterruptedException {

        context.write(key,value);

    }
}
